package cn.echoparrot.domain.service;

import cn.echoparrot.domain.entity.Notebook;
import org.springframework.ai.embedding.EmbeddingModel;

import java.util.Optional;

public interface NotebookService {

    /**
     * 查找
     *
     * @param deviceId
     * @param roleId
     * @return
     */
    Optional<Notebook> find(String deviceId, Integer roleId);
    Notebook create(Notebook notebook);
    NoteService open(Notebook notebook, EmbeddingModel embeddingModel) ;
}
